home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 74 6e | 63 6e 65 74 2e 63 6f 6d |Path: tn|cnet.com|
|00000010| 21 75 73 65 6e 65 74 0a | 46 72 6f 6d 3a 20 53 69 |!usenet.|From: Si|
|00000020| 6d 6f 6e 20 4c 65 65 20 | 28 53 69 6d 6f 6e 20 4c |mon Lee |(Simon L|
|00000030| 65 65 29 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |ee).News|groups: |
|00000040| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000050| 62 6a 65 63 74 3a 20 52 | 65 3a 20 57 68 79 20 64 |bject: R|e: Why d|
|00000060| 6f 65 73 20 74 68 69 73 | 20 77 6f 72 6b 3f 0a 44 |oes this| work?.D|
|00000070| 61 74 65 3a 20 32 38 20 | 4d 61 72 20 31 39 39 36 |ate: 28 |Mar 1996|
|00000080| 20 31 37 3a 35 35 3a 35 | 33 20 47 4d 54 0a 4f 72 | 17:55:5|3 GMT.Or|
|00000090| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 54 4d 6e |ganizati|on: ATMn|
|000000a0| 65 74 2c 20 4c 4c 43 20 | 53 61 6e 20 44 69 65 67 |et, LLC |San Dieg|
|000000b0| 6f 2c 20 43 41 0a 4d 65 | 73 73 61 67 65 2d 49 44 |o, CA.Me|ssage-ID|
|000000c0| 3a 20 3c 34 6a 65 6a 72 | 39 24 37 61 38 40 61 74 |: <4jejr|9$7a8@at|
|000000d0| 6c 61 73 2e 74 6e 63 6e | 65 74 2e 63 6f 6d 3e 0a |las.tncn|et.com>.|
|000000e0| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 44 6f 78 |Referenc|es: <Dox|
|000000f0| 76 6e 41 2e 4c 30 43 40 | 6d 61 69 6c 2e 61 75 62 |vnA.L0C@|mail.aub|
|00000100| 75 72 6e 2e 65 64 75 3e | 0a 52 65 70 6c 79 2d 54 |urn.edu>|.Reply-T|
|00000110| 6f 3a 20 73 69 6d 6f 6e | 6c 40 64 61 74 61 77 6f |o: simon|l@datawo|
|00000120| 72 6b 73 2e 63 6f 6d 0a | 4e 4e 54 50 2d 50 6f 73 |rks.com.|NNTP-Pos|
|00000130| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 73 64 69 70 31 |ting-Hos|t: sdip1|
|00000140| 34 31 2e 64 61 74 61 77 | 6f 72 6b 73 2e 63 6f 6d |41.dataw|orks.com|
|00000150| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000160| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000170| 20 54 65 78 74 2f 50 6c | 61 69 6e 3b 20 63 68 61 | Text/Pl|ain; cha|
|00000180| 72 73 65 74 3d 55 53 2d | 41 53 43 49 49 0a 58 2d |rset=US-|ASCII.X-|
|00000190| 4e 65 77 73 72 65 61 64 | 65 72 3a 20 57 69 6e 56 |Newsread|er: WinV|
|000001a0| 4e 20 30 2e 39 39 2e 37 | 0a 0a 49 6e 20 61 72 74 |N 0.99.7|..In art|
|000001b0| 69 63 6c 65 20 3c 44 6f | 78 76 6e 41 2e 4c 30 43 |icle <Do|xvnA.L0C|
|000001c0| 40 6d 61 69 6c 2e 61 75 | 62 75 72 6e 2e 65 64 75 |@mail.au|burn.edu|
|000001d0| 3e 2c 20 67 72 65 65 72 | 6a 6f 40 6d 61 69 6c 2e |>, greer|jo@mail.|
|000001e0| 61 75 62 75 72 6e 2e 65 | 64 75 20 73 61 79 73 2e |auburn.e|du says.|
|000001f0| 2e 2e 0a 3e 0a 3e 54 68 | 69 73 20 69 73 20 70 72 |...>.>Th|is is pr|
|00000200| 6f 62 61 62 6c 79 20 61 | 20 68 6f 72 72 69 62 6c |obably a| horribl|
|00000210| 79 20 73 69 6d 70 6c 65 | 20 71 75 65 73 74 69 6f |y simple| questio|
|00000220| 6e 2c 20 62 75 74 20 49 | 20 77 61 73 20 67 6f 69 |n, but I| was goi|
|00000230| 6e 67 20 74 68 72 6f 75 | 67 68 20 61 20 0a 3e 66 |ng throu|gh a .>f|
|00000240| 65 77 20 62 6f 6f 6b 73 | 2c 20 62 72 75 73 68 69 |ew books|, brushi|
|00000250| 6e 67 20 75 70 20 6f 6e | 20 6d 79 20 69 6f 73 74 |ng up on| my iost|
|00000260| 72 65 61 6d 73 2c 20 77 | 68 65 6e 20 49 20 73 61 |reams, w|hen I sa|
|00000270| 77 20 74 68 69 73 20 74 | 69 64 62 69 74 20 69 6e |w this t|idbit in|
|00000280| 20 4a 61 6d 73 61 27 73 | 20 0a 3e 4d 75 6c 74 69 | Jamsa's| .>Multi|
|00000290| 6d 65 64 69 61 20 54 72 | 69 6c 6f 67 79 20 28 54 |media Tr|ilogy (T|
|000002a0| 68 65 20 43 44 2d 52 4f | 4d 20 62 79 20 4b 72 69 |he CD-RO|M by Kri|
|000002b0| 73 20 4a 61 6d 73 61 29 | 0a 3e 0a 3e 23 69 6e 63 |s Jamsa)|.>.>#inc|
|000002c0| 6c 75 64 65 20 3c 69 6f | 73 74 72 65 61 6d 2e 68 |lude <io|stream.h|
|000002d0| 3e 0a 3e 23 69 6e 63 6c | 75 64 65 20 3c 63 74 79 |>.>#incl|ude <cty|
|000002e0| 70 65 2e 68 3e 0a 3e 0a | 3e 76 6f 69 64 20 6d 61 |pe.h>.>.|>void ma|
|000002f0| 69 6e 28 76 6f 69 64 29 | 0a 3e 20 7b 0a 3e 20 20 |in(void)|.> {.> |
|00000300| 20 63 68 61 72 20 6c 65 | 74 74 65 72 3b 0a 3e 0a | char le|tter;.>.|
|00000310| 3e 20 20 20 77 68 69 6c | 65 20 28 21 20 63 69 6e |> whil|e (! cin|
|00000320| 2e 65 6f 66 28 29 29 0a | 3e 20 20 20 20 20 7b 0a |.eof()).|> {.|
|00000330| 3e 20 20 20 20 20 20 20 | 6c 65 74 74 65 72 20 3d |> |letter =|
|00000340| 20 63 69 6e 2e 67 65 74 | 28 29 3b 0a 3e 20 20 20 | cin.get|();.> |
|00000350| 20 20 20 20 6c 65 74 74 | 65 72 20 3d 20 74 6f 75 | lett|er = tou|
|00000360| 70 70 65 72 28 6c 65 74 | 74 65 72 29 3b 0a 3e 20 |pper(let|ter);.> |
|00000370| 20 20 20 20 20 20 63 6f | 75 74 20 3c 3c 20 6c 65 | co|ut << le|
|00000380| 74 74 65 72 3b 0a 3e 20 | 20 20 20 20 7d 0a 3e 20 |tter;.> | }.> |
|00000390| 7d 0a 3e 0a 3e 57 68 79 | 20 64 6f 65 73 20 74 68 |}.>.>Why| does th|
|000003a0| 69 73 20 77 6f 72 6b 21 | 3f 21 3f 20 20 49 74 20 |is work!|?!? It |
|000003b0| 73 65 65 6d 73 20 74 6f | 20 72 65 73 65 72 76 65 |seems to| reserve|
|000003c0| 20 73 74 6f 72 61 67 65 | 20 66 6f 72 20 6f 6e 6c | storage| for onl|
|000003d0| 79 20 6f 6e 65 20 0a 3e | 63 68 61 72 61 63 74 65 |y one .>|characte|
|000003e0| 72 20 69 6e 20 6c 65 74 | 74 65 72 2c 20 62 75 74 |r in let|ter, but|
|000003f0| 20 6f 75 74 70 75 74 73 | 20 61 20 77 68 6f 6c 65 | outputs| a whole|
|00000400| 20 6c 69 6e 65 20 61 74 | 20 61 20 74 69 6d 65 2e | line at| a time.|
|00000410| 20 20 46 65 65 6c 20 66 | 72 65 65 20 74 6f 20 0a | Feel f|ree to .|
|00000420| 3e 66 6c 61 6d 65 20 6d | 79 20 73 74 75 70 69 64 |>flame m|y stupid|
|00000430| 69 74 79 2c 20 62 75 74 | 20 70 6c 65 61 73 65 20 |ity, but| please |
|00000440| 73 61 74 69 73 66 79 20 | 6d 79 20 63 75 72 69 6f |satisfy |my curio|
|00000450| 73 69 74 79 20 28 49 27 | 6d 20 72 65 61 6c 6c 79 |sity (I'|m really|
|00000460| 20 6e 6f 74 20 74 68 69 | 73 20 0a 3e 63 6c 75 65 | not thi|s .>clue|
|00000470| 6c 65 73 73 2c 20 49 20 | 70 72 6f 6d 69 73 65 21 |less, I |promise!|
|00000480| 21 29 0a 3e 0a 3e 4a 6f | 68 6e 20 47 72 65 65 72 |!).>.>Jo|hn Greer|
|00000490| 0a 0a 53 65 65 20 74 68 | 65 20 77 68 69 6c 65 20 |..See th|e while |
|000004a0| 6c 6f 6f 70 3f 20 20 49 | 74 20 73 61 79 73 20 27 |loop? I|t says '|
|000004b0| 77 68 69 6c 65 20 77 65 | 27 76 65 20 67 6f 74 20 |while we|'ve got |
|000004c0| 6d 6f 72 65 20 63 68 61 | 72 61 63 74 65 72 73 2c |more cha|racters,|
|000004d0| 0a 67 65 74 20 6f 6e 65 | 20 63 68 61 72 61 63 74 |.get one| charact|
|000004e0| 65 72 20 61 6e 64 20 6f | 75 74 70 75 74 20 69 74 |er and o|utput it|
|000004f0| 2e 27 20 20 54 68 75 73 | 2c 20 79 6f 75 20 68 61 |.' Thus|, you ha|
|00000500| 76 65 20 61 20 6c 6f 6f | 70 20 67 65 74 74 69 6e |ve a loo|p gettin|
|00000510| 67 20 61 20 63 68 61 72 | 61 63 74 65 72 0a 61 74 |g a char|acter.at|
|00000520| 20 61 20 74 69 6d 65 20 | 66 72 6f 6d 20 74 68 65 | a time |from the|
|00000530| 20 73 74 72 65 61 6d 2c | 20 61 6e 64 20 70 75 74 | stream,| and put|
|00000540| 74 69 6e 67 20 74 68 61 | 74 20 6f 6e 65 20 63 68 |ting tha|t one ch|
|00000550| 61 72 61 63 74 65 72 20 | 69 6e 74 6f 20 74 68 65 |aracter |into the|
|00000560| 20 6f 75 74 70 75 74 0a | 73 74 72 65 61 6d 2e 0a | output.|stream..|
|00000570| 0a 2d 53 69 6d 6f 6e 20 | 4c 65 65 0a 0a 0a |.-Simon |Lee... |
+--------+-------------------------+-------------------------+--------+--------+